import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex);

export default new Vuex.Store({
    state: {
        userInfo:{

        },
        car:{

        },
        count: 1000,
        count1: 1000,
        count2: 1000,
        count3: 1000,
    },
    mutations: {
        sum(state, num){
            state.count += num;
        }
    },
    actions: {},
    getters: {},
    modules: {}
})
